import request from "@/utils/request.js";

export const removeCartItemAPI=(shoeId)=>request.get("/api/user/shoppingCart/sub",{params:{shoeId}})


export const clearCartAPI=()=>request.delete("/api/user/shoppingCart/clean")

export const addCart=(shoeId,size)=>request.get('/api/user/shoppingCart/add',{params:{shoeId,size}})
export const getCart=()=>request.get('/api/user/shoppingCart/list')